//
//  YeeHomeOnlyImageTableViewCell.m
//  YeeShopProject
//
//  Created by CoderYee on 2017/2/27.
//  Copyright © 2017年 CoderYee. All rights reserved.
//

#import "YeeHomeOnlyImageTableViewCell.h"

@implementation YeeHomeOnlyImageTableViewCell

-(void)addOwnView
{
    _coverImageView=[[UIImageView alloc] init];
    _coverImageView.contentMode=UIViewContentModeScaleAspectFill;
    _coverImageView.clipsToBounds=YES;
    [self.contentView addSubview:_coverImageView];
    
    [_coverImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.right.bottom.equalTo(self.contentView);
    }];
    [_coverImageView sd_setImageWithURL:[NSURL URLWithString:@"http://upload-images.jianshu.io/upload_images/3408986-6b247074e37310a5.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240"]];
    
}

@end
